/**
 * 
 */
package com.studypartner.tasks;

import java.util.HashMap;

/**
 * @author 34262_000
 *
 */
public class TaskManager {

	private static HashMap<String,Task> tasks=new HashMap<String, Task>();
	
	public void addTask(String taskName,int finishedNum,int totalNum, int plusNum){
		tasks.put(taskName, new Task(taskName,finishedNum,totalNum,plusNum));
	}
	
	public void delTask(){
		
	}
	
	public Task getTaskByName(String taskname){
		return tasks.get(taskname);
	}

}
